Skip to content

fix(sdk): spell the facade REES46, allow empty syncs, fix the attribution example - #18

Merged
Xyzcancer merged 3 commits into
masterfrom
fix/rees46-caps-sync-empty-attribution
Sep 7, 2026
Merged

Xyzcancer merged 3 commits into
masterfrom
fix/rees46-caps-sync-empty-attribution

Conversation

@Xyzcancer

Copy link
Copy Markdown
Contributor
  • The facade and its config/error/factory types are now spelled REES46 — the only correct spelling of the name.
  • syncCart and syncFavorites accept an empty collection: the natives already send items: [], the Dart guard was rejecting a legitimate emptied cart.
  • The README attribution example now uses a campaign source instead of a storefront tool.

The wrapper rejected an empty list with an ArgumentError, so an emptied cart
could not be reported from Flutter at all. The native SDKs deliberately do the
opposite — Android's `putEmptyItemsIfNone` always sends the list — so the check
contradicted the platform instead of guarding it.
…r in

The attribution examples used a recommender block as the source, including as
the stored one. A stored source describes where the user arrived from — a bulk
push, a chain — and the values come from the link that opened the app.
The public entry point carried the brand as `Rees46`; it is spelled REES46.
Renames `Rees46`, `Rees46Config`, `Rees46Error` and `Rees46SdkFactory` along
with the doc comments and the pigeon-generated header.

BREAKING CHANGE: `Rees46` and friends are now `REES46`.
@Xyzcancer
Xyzcancer merged commit 81c5188 into master Sep 7, 2026
2 of 3 checks passed
@Xyzcancer
Xyzcancer deleted the fix/rees46-caps-sync-empty-attribution branch September 7, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant